﻿#ifndef __GUI_ENUM_TYPE_H___
#define __GUI_ENUM_TYPE_H___

namespace GUI
{
    enum PartTreeItemType
    {
        MITNone = 0,
        MITPartRoot = 1,  //PartRoot节点
        MITPart = 2,
        
    };

    enum PostTreeItemType
    {
        PITNone = 0,
        PITPostRoot = 1,  //PostRoot节点
          PITPost = 2,
            PITStepRoot = 3,
              PITStep = 4,
    };

    enum TreeAdditionalInfo
    {
        TAIDataObjID = 256,  //当前数据id
        TAICaseID,           //dataCase的id
        TAIPartID,           //Part的id
        TAIModelID,          //AssemblyMgr的Model的id  AssemblyMgr->getDataByIndex(iIns);
        TAIMatrialID,        //Matrial的ID
        TAIPropertyID,       //Property的ID
        TAICurveID,
        TAIRigidWallID,
        TAISetID,
        TAISurfID,
        TAIPostID,           //Post的ID
        TAIStepIndex,        //PostStep的Index
    };

    enum TreeWidgetAssemblyType
    {
        TWAssemblyNone = 0,
        TWAssemblyGeometry = 1,
        TWAssemblyGeometryChild = 11,
        TWAssemblyGeometryChildBool = 111,
        TWAssemblyPart = 2,
        TWAssemblyPartChild = 21,
    };

    enum TreeWidgetGroupType
    {
        TWGroupNone = 0,
        TWGroupSet = 1,
        TWGroupSetChild = 11,
        TWGroupSurface = 2,
        TWGroupSurfaceChild = 21,
    };

    enum TreeWidgetPropertyType
    {
        TWPropertyNone = 0,
        TWPropertyMaterial = 1,
        TWPropertyMaterialChild = 11,
        TWPropertyProperty = 2,
        TWPropertyPropertyChild = 21,
        TWPropertyCurve = 3,
        TWPropertyCurveChild = 31,
    };

    enum TreeWidgetSolutionType
    {
        TWSolutionNone = 0,
        TWSolutionRoot = 1,
        TWSolutionChild = 2,
        TWSolutionChildSetting = 21,
        TWSolutionChildSettingSolverSetting = 211,
        TWSolutionChildSettingResultRequest = 212,
        TWSolutionChildInitialContact = 22,
        TWSolutionChildInitialContactKinematicTied = 221,
        TWSolutionChildInitialContactMultiUsageImpact = 222,
        TWSolutionChildInitialCondition = 23,
        TWSolutionChildInitialConditionInitialField = 231,
        TWSolutionChildLoad = 24,
        TWSolutionChildConstraint = 25,
        TWSolutionChildConstraintRigidWall = 251,
        TWSolutionChildConstraintGravity = 252,
    };

    enum ModelElementType
    {
        METNone = 0,
        METPoint = 1,
        METLine = 2,
        METSurface = 3,
        METMeshVert = 4,
        METMeshEdge = 5,
        METMeshFace = 6,
    };
}
#endif  // __GUI_ENUM_TYPE_H___